﻿/*
 *  Author: Louis A. Leskoviansky
 *  Company: Artemis Solutions Group (http://www.artemis-solutions.com)
 */


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;

namespace AjaxControlFramework
{
    [AjaxControlOptions(false, ScriptBuildMode.Release)]
    public class UpdateRegion : PlaceHolder, IAjaxControl, INamingContainer
    {
        //------// Properties \\--------------------------------------------\\
        [Bindable(false), Browsable(false)]
        public virtual AjaxControlContext AjaxContext { get; set; }

        [Bindable(false), Browsable(false)]
        public virtual bool IsUpdating { get; set; }

        [Bindable(false), Browsable(false)]
        public virtual StateStrategy StateStrategy { get; set; }
        [Bindable(false), Browsable(false)]
        public virtual CallbackStrategy CallbackStrategy { get; set; }
        //------\\ Properties //--------------------------------------------//



        //------// Constructors \\------------------------------------------\\
        public UpdateRegion()
        {
            CallbackStrategy = new ControlCallbackStrategy(this);
            CallbackStrategy.Scripter = new UpdateRegionScriptStrategy(this);

            AjaxControl.Initialize(this);
        }
        //------\\ Constructors //------------------------------------------//



        //------// Methods \\-----------------------------------------------\\
        
        //------\\ Methods //-----------------------------------------------//
    }
}
